﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TimsDS" targetNamespace="http://tempuri.org/TimsDS.xsd" xmlns:mstns="http://tempuri.org/TimsDS.xsd" xmlns="http://tempuri.org/TimsDS.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="2" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="DBTims02ConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBTims02ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.DBTims02ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TIMSConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TIMSConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.TIMSConnectionString1" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TIMSConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="TIMSConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.TIMSConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="fn_GetStaffTableAdapter" GeneratorDataComponentClassName="fn_GetStaffTableAdapter" Name="fn_GetStaff" UserDataComponentName="fn_GetStaffTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims02.dbo.fn_GetStaff" DbObjectType="Function" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT StaffID, DepID, PostID, CityID, StaffName, addr, Gender, DBorn, DWork, PerNum, TabNum, postName, depName, CityName FROM dbo.fn_GetStaff(NULL)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StaffID" DataSetColumn="StaffID" />
              <Mapping SourceColumn="DepID" DataSetColumn="DepID" />
              <Mapping SourceColumn="PostID" DataSetColumn="PostID" />
              <Mapping SourceColumn="CityID" DataSetColumn="CityID" />
              <Mapping SourceColumn="StaffName" DataSetColumn="StaffName" />
              <Mapping SourceColumn="addr" DataSetColumn="addr" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="DBorn" DataSetColumn="DBorn" />
              <Mapping SourceColumn="DWork" DataSetColumn="DWork" />
              <Mapping SourceColumn="PerNum" DataSetColumn="PerNum" />
              <Mapping SourceColumn="TabNum" DataSetColumn="TabNum" />
              <Mapping SourceColumn="postName" DataSetColumn="postName" />
              <Mapping SourceColumn="depName" DataSetColumn="depName" />
              <Mapping SourceColumn="CityName" DataSetColumn="CityName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="fnUserRolesTableAdapter" GeneratorDataComponentClassName="fnUserRolesTableAdapter" Name="fnUserRoles" UserDataComponentName="fnUserRolesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims02.dbo.fnUserRoles" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT URolesID, RolesID, UserID, UserN, RolesN, StaffName FROM dbo.fnUserRoles</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="URolesID" DataSetColumn="URolesID" />
              <Mapping SourceColumn="RolesID" DataSetColumn="RolesID" />
              <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
              <Mapping SourceColumn="UserN" DataSetColumn="UserN" />
              <Mapping SourceColumn="RolesN" DataSetColumn="RolesN" />
              <Mapping SourceColumn="StaffName" DataSetColumn="StaffName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stUsersTableAdapter" GeneratorDataComponentClassName="stUsersTableAdapter" Name="stUsers" UserDataComponentName="stUsersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims02.dbo.stUsers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[stUsers] WHERE (([UserID] = @Original_UserID) AND ([StaffID] = @Original_StaffID) AND ([UserN] = @Original_UserN) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Spend = 1 AND [Spend] IS NULL) OR ([Spend] = @Original_Spend)) AND ((@IsNull_DateES = 1 AND [DateES] IS NULL) OR ([DateES] = @Original_DateES)) AND ((@IsNull_DateEE = 1 AND [DateEE] IS NULL) OR ([DateEE] = @Original_DateEE)) AND ((@IsNull_DateSS = 1 AND [DateSS] IS NULL) OR ([DateSS] = @Original_DateSS)) AND ((@IsNull_DateSE = 1 AND [DateSE] IS NULL) OR ([DateSE] = @Original_DateSE)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StaffID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UserN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UserN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateES" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateES" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateES" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateES" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateEE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateEE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateEE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateEE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateSS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateSS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateSS" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateSE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateSE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateSE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[stUsers] ([UserID], [StaffID], [UserN], [Description], [Spend], [DateES], [DateEE], [DateSS], [DateSE], [Psw]) VALUES (@UserID, @StaffID, @UserN, @Description, @Spend, @DateES, @DateEE, @DateSS, @DateSE, @Psw);
SELECT UserID, StaffID, UserN, Description, Spend, DateES, DateEE, DateSS, DateSE, Psw FROM stUsers WHERE (UserID = @UserID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StaffID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UserN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UserN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateES" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateES" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateEE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateEE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateSS" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateSE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Psw" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Psw" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT UserID, StaffID, UserN, Description, Spend, DateES, DateEE, DateSS, DateSE, Psw FROM dbo.stUsers</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[stUsers] SET [UserID] = @UserID, [StaffID] = @StaffID, [UserN] = @UserN, [Description] = @Description, [Spend] = @Spend, [DateES] = @DateES, [DateEE] = @DateEE, [DateSS] = @DateSS, [DateSE] = @DateSE, [Psw] = @Psw WHERE (([UserID] = @Original_UserID) AND ([StaffID] = @Original_StaffID) AND ([UserN] = @Original_UserN) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Spend = 1 AND [Spend] IS NULL) OR ([Spend] = @Original_Spend)) AND ((@IsNull_DateES = 1 AND [DateES] IS NULL) OR ([DateES] = @Original_DateES)) AND ((@IsNull_DateEE = 1 AND [DateEE] IS NULL) OR ([DateEE] = @Original_DateEE)) AND ((@IsNull_DateSS = 1 AND [DateSS] IS NULL) OR ([DateSS] = @Original_DateSS)) AND ((@IsNull_DateSE = 1 AND [DateSE] IS NULL) OR ([DateSE] = @Original_DateSE)));
SELECT UserID, StaffID, UserN, Description, Spend, DateES, DateEE, DateSS, DateSE, Psw FROM stUsers WHERE (UserID = @UserID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StaffID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UserN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UserN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateES" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateES" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateEE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateEE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateSS" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@DateSE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Psw" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Psw" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StaffID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UserN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UserN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateES" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateES" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateES" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateES" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateEE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateEE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateEE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateEE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateSS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateSS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateSS" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateSE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateSE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Object" Direction="Input" ParameterName="@Original_DateSE" Precision="0" ProviderType="Variant" Scale="0" Size="0" SourceColumn="DateSE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
              <Mapping SourceColumn="StaffID" DataSetColumn="StaffID" />
              <Mapping SourceColumn="UserN" DataSetColumn="UserN" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Spend" DataSetColumn="Spend" />
              <Mapping SourceColumn="DateES" DataSetColumn="DateES" />
              <Mapping SourceColumn="DateEE" DataSetColumn="DateEE" />
              <Mapping SourceColumn="DateSS" DataSetColumn="DateSS" />
              <Mapping SourceColumn="DateSE" DataSetColumn="DateSE" />
              <Mapping SourceColumn="Psw" DataSetColumn="Psw" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tsp_dtEBKTableAdapter" GeneratorDataComponentClassName="tsp_dtEBKTableAdapter" Name="tsp_dtEBK" UserDataComponentName="tsp_dtEBKTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims02.dbo.tsp_dtEBK" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.tsp_dtEBK</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Action" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@CodeID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="InputOutput" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@mgrid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="InputOutput" ParameterName="@hCode" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="InputOutput" ParameterName="@hccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
              <Mapping SourceColumn="hCode" DataSetColumn="hCode" />
              <Mapping SourceColumn="hccrt" DataSetColumn="hccrt" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tsp_dtFBKTableAdapter" GeneratorDataComponentClassName="tsp_dtFBKTableAdapter" Name="tsp_dtFBK" UserDataComponentName="tsp_dtFBKTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims02.dbo.tsp_dtFBK" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.tsp_dtFBK</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Action" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@CodeID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="InputOutput" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@mgrid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="InputOutput" ParameterName="@hCode" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="InputOutput" ParameterName="@hccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
              <Mapping SourceColumn="hCode" DataSetColumn="hCode" />
              <Mapping SourceColumn="hccrt" DataSetColumn="hccrt" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="fn_GetAnyTableAdapter" GeneratorDataComponentClassName="fn_GetAnyTableAdapter" Name="fn_GetAny" UserDataComponentName="fn_GetAnyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims02.dbo.fn_GetAny" DbObjectType="Function" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt, DCode FROM dbo.fn_GetAny(@hrclvl, @DCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="hrclvl" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@hrclvl" Precision="0" Scale="0" Size="0" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DCode" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@DCode" Precision="0" Scale="0" Size="0" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
              <Mapping SourceColumn="DCode" DataSetColumn="DCode" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ClientsTableAdapter" GeneratorDataComponentClassName="ClientsTableAdapter" Name="Clients" UserDataComponentName="ClientsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims.dbo.Clients" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Clients] WHERE (([ClientsID] = @Original_ClientsID) AND ([CityID] = @Original_CityID) AND ([ClName] = @Original_ClName) AND ((@IsNull_address = 1 AND [address] IS NULL) OR ([address] = @Original_address)) AND ((@IsNull_PostalCode = 1 AND [PostalCode] IS NULL) OR ([PostalCode] = @Original_PostalCode)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_Fax = 1 AND [Fax] IS NULL) OR ([Fax] = @Original_Fax)) AND ((@IsNull_Mobile = 1 AND [Mobile] IS NULL) OR ([Mobile] = @Original_Mobile)) AND ((@IsNull_Person = 1 AND [Person] IS NULL) OR ([Person] = @Original_Person)) AND ((@IsNull_Meneger = 1 AND [Meneger] IS NULL) OR ([Meneger] = @Original_Meneger)) AND ((@IsNull_Lit = 1 AND [Lit] IS NULL) OR ([Lit] = @Original_Lit)) AND ((@IsNull_Dlit = 1 AND [Dlit] IS NULL) OR ([Dlit] = @Original_Dlit)) AND ([Sn] = @Original_Sn) AND ((@IsNull_Emaill = 1 AND [Emaill] IS NULL) OR ([Emaill] = @Original_Emaill)) AND ((@IsNull_LDefault = 1 AND [LDefault] IS NULL) OR ([LDefault] = @Original_LDefault)) AND ((@IsNull_Spend = 1 AND [Spend] IS NULL) OR ([Spend] = @Original_Spend)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ClientsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ClientsID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostalCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mobile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Person" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Meneger" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Lit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dlit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Emaill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LDefault" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Clients] ([CityID], [ClName], [address], [PostalCode], [Phone], [Fax], [Mobile], [Person], [Meneger], [Lit], [Dlit], [Sn], [Emaill], [LDefault], [Spend], [addInf]) VALUES (@CityID, @ClName, @address, @PostalCode, @Phone, @Fax, @Mobile, @Person, @Meneger, @Lit, @Dlit, @Sn, @Emaill, @LDefault, @Spend, @addInf);
SELECT ClientsID, CityID, ClName, address, PostalCode, Phone, Fax, Mobile, Person, Meneger, Lit, Dlit, Sn, Emaill, LDefault, Spend, addInf FROM Clients WHERE (ClientsID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@addInf" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="addInf" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ClientsID, CityID, ClName, address, PostalCode, Phone, Fax, Mobile, Person, Meneger, Lit, Dlit, Sn, Emaill, LDefault, Spend, addInf FROM dbo.Clients</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Clients] SET [CityID] = @CityID, [ClName] = @ClName, [address] = @address, [PostalCode] = @PostalCode, [Phone] = @Phone, [Fax] = @Fax, [Mobile] = @Mobile, [Person] = @Person, [Meneger] = @Meneger, [Lit] = @Lit, [Dlit] = @Dlit, [Sn] = @Sn, [Emaill] = @Emaill, [LDefault] = @LDefault, [Spend] = @Spend, [addInf] = @addInf WHERE (([ClientsID] = @Original_ClientsID) AND ([CityID] = @Original_CityID) AND ([ClName] = @Original_ClName) AND ((@IsNull_address = 1 AND [address] IS NULL) OR ([address] = @Original_address)) AND ((@IsNull_PostalCode = 1 AND [PostalCode] IS NULL) OR ([PostalCode] = @Original_PostalCode)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_Fax = 1 AND [Fax] IS NULL) OR ([Fax] = @Original_Fax)) AND ((@IsNull_Mobile = 1 AND [Mobile] IS NULL) OR ([Mobile] = @Original_Mobile)) AND ((@IsNull_Person = 1 AND [Person] IS NULL) OR ([Person] = @Original_Person)) AND ((@IsNull_Meneger = 1 AND [Meneger] IS NULL) OR ([Meneger] = @Original_Meneger)) AND ((@IsNull_Lit = 1 AND [Lit] IS NULL) OR ([Lit] = @Original_Lit)) AND ((@IsNull_Dlit = 1 AND [Dlit] IS NULL) OR ([Dlit] = @Original_Dlit)) AND ([Sn] = @Original_Sn) AND ((@IsNull_Emaill = 1 AND [Emaill] IS NULL) OR ([Emaill] = @Original_Emaill)) AND ((@IsNull_LDefault = 1 AND [LDefault] IS NULL) OR ([LDefault] = @Original_LDefault)) AND ((@IsNull_Spend = 1 AND [Spend] IS NULL) OR ([Spend] = @Original_Spend)));
SELECT ClientsID, CityID, ClName, address, PostalCode, Phone, Fax, Mobile, Person, Meneger, Lit, Dlit, Sn, Emaill, LDefault, Spend, addInf FROM Clients WHERE (ClientsID = @ClientsID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@addInf" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="addInf" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ClientsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ClientsID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostalCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mobile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Person" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Meneger" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Lit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dlit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Emaill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LDefault" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ClientsID" ColumnName="ClientsID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ClientsID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ClientsID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ClientsID" DataSetColumn="ClientsID" />
              <Mapping SourceColumn="CityID" DataSetColumn="CityID" />
              <Mapping SourceColumn="ClName" DataSetColumn="ClName" />
              <Mapping SourceColumn="address" DataSetColumn="address" />
              <Mapping SourceColumn="PostalCode" DataSetColumn="PostalCode" />
              <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
              <Mapping SourceColumn="Fax" DataSetColumn="Fax" />
              <Mapping SourceColumn="Mobile" DataSetColumn="Mobile" />
              <Mapping SourceColumn="Person" DataSetColumn="Person" />
              <Mapping SourceColumn="Meneger" DataSetColumn="Meneger" />
              <Mapping SourceColumn="Lit" DataSetColumn="Lit" />
              <Mapping SourceColumn="Dlit" DataSetColumn="Dlit" />
              <Mapping SourceColumn="Sn" DataSetColumn="Sn" />
              <Mapping SourceColumn="Emaill" DataSetColumn="Emaill" />
              <Mapping SourceColumn="LDefault" DataSetColumn="LDefault" />
              <Mapping SourceColumn="Spend" DataSetColumn="Spend" />
              <Mapping SourceColumn="addInf" DataSetColumn="addInf" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dtCityTableAdapter" GeneratorDataComponentClassName="dtCityTableAdapter" Name="dtCity" UserDataComponentName="dtCityTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims.dbo.dtCity" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dtCity] WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dtCity] ([hName], [mgrid], [hrclvl], [hrccrt]) VALUES (@hName, @mgrid, @hrclvl, @hrccrt);
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtCity WHERE (CodeID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dbo.dtCity</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dtCity] SET [hName] = @hName, [mgrid] = @mgrid, [hrclvl] = @hrclvl, [hrccrt] = @hrccrt WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)));
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtCity WHERE (CodeID = @CodeID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CodeID" ColumnName="CodeID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CodeID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="TimsDS" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="TimsDS" msprop:Generator_DataSetName="TimsDS" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="fn_GetStaff" msprop:Generator_UserTableName="fn_GetStaff" msprop:Generator_RowDeletedName="fn_GetStaffRowDeleted" msprop:Generator_RowChangedName="fn_GetStaffRowChanged" msprop:Generator_RowClassName="fn_GetStaffRow" msprop:Generator_RowChangingName="fn_GetStaffRowChanging" msprop:Generator_RowEvArgName="fn_GetStaffRowChangeEvent" msprop:Generator_RowEvHandlerName="fn_GetStaffRowChangeEventHandler" msprop:Generator_TableClassName="fn_GetStaffDataTable" msprop:Generator_TableVarName="tablefn_GetStaff" msprop:Generator_RowDeletingName="fn_GetStaffRowDeleting" msprop:Generator_TablePropName="fn_GetStaff">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StaffID" msprop:Generator_UserColumnName="StaffID" msprop:Generator_ColumnVarNameInTable="columnStaffID" msprop:Generator_ColumnPropNameInRow="StaffID" msprop:Generator_ColumnPropNameInTable="StaffIDColumn" type="xs:int" />
              <xs:element name="DepID" msprop:Generator_UserColumnName="DepID" msprop:Generator_ColumnVarNameInTable="columnDepID" msprop:Generator_ColumnPropNameInRow="DepID" msprop:Generator_ColumnPropNameInTable="DepIDColumn" type="xs:int" />
              <xs:element name="PostID" msprop:Generator_UserColumnName="PostID" msprop:Generator_ColumnVarNameInTable="columnPostID" msprop:Generator_ColumnPropNameInRow="PostID" msprop:Generator_ColumnPropNameInTable="PostIDColumn" type="xs:int" />
              <xs:element name="CityID" msprop:Generator_UserColumnName="CityID" msprop:Generator_ColumnVarNameInTable="columnCityID" msprop:Generator_ColumnPropNameInRow="CityID" msprop:Generator_ColumnPropNameInTable="CityIDColumn" type="xs:int" />
              <xs:element name="StaffName" msprop:Generator_UserColumnName="StaffName" msprop:Generator_ColumnVarNameInTable="columnStaffName" msprop:Generator_ColumnPropNameInRow="StaffName" msprop:Generator_ColumnPropNameInTable="StaffNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="addr" msprop:Generator_UserColumnName="addr" msprop:Generator_ColumnVarNameInTable="columnaddr" msprop:Generator_ColumnPropNameInRow="addr" msprop:Generator_ColumnPropNameInTable="addrColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="DBorn" msprop:Generator_UserColumnName="DBorn" msprop:Generator_ColumnVarNameInTable="columnDBorn" msprop:Generator_ColumnPropNameInRow="DBorn" msprop:Generator_ColumnPropNameInTable="DBornColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DWork" msprop:Generator_UserColumnName="DWork" msprop:Generator_ColumnVarNameInTable="columnDWork" msprop:Generator_ColumnPropNameInRow="DWork" msprop:Generator_ColumnPropNameInTable="DWorkColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PerNum" msprop:Generator_UserColumnName="PerNum" msprop:Generator_ColumnVarNameInTable="columnPerNum" msprop:Generator_ColumnPropNameInRow="PerNum" msprop:Generator_ColumnPropNameInTable="PerNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TabNum" msprop:Generator_UserColumnName="TabNum" msprop:Generator_ColumnVarNameInTable="columnTabNum" msprop:Generator_ColumnPropNameInRow="TabNum" msprop:Generator_ColumnPropNameInTable="TabNumColumn" type="xs:int" minOccurs="0" />
              <xs:element name="postName" msprop:Generator_UserColumnName="postName" msprop:Generator_ColumnVarNameInTable="columnpostName" msprop:Generator_ColumnPropNameInRow="postName" msprop:Generator_ColumnPropNameInTable="postNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="depName" msprop:Generator_UserColumnName="depName" msprop:Generator_ColumnVarNameInTable="columndepName" msprop:Generator_ColumnPropNameInRow="depName" msprop:Generator_ColumnPropNameInTable="depNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CityName" msprop:Generator_UserColumnName="CityName" msprop:Generator_ColumnVarNameInTable="columnCityName" msprop:Generator_ColumnPropNameInRow="CityName" msprop:Generator_ColumnPropNameInTable="CityNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tsp_Contracts" msprop:Generator_UserTableName="tsp_Contracts" msprop:Generator_RowDeletedName="tsp_ContractsRowDeleted" msprop:Generator_RowChangedName="tsp_ContractsRowChanged" msprop:Generator_RowClassName="tsp_ContractsRow" msprop:Generator_RowChangingName="tsp_ContractsRowChanging" msprop:Generator_RowEvArgName="tsp_ContractsRowChangeEvent" msprop:Generator_RowEvHandlerName="tsp_ContractsRowChangeEventHandler" msprop:Generator_TableClassName="tsp_ContractsDataTable" msprop:Generator_TableVarName="tabletsp_Contracts" msprop:Generator_RowDeletingName="tsp_ContractsRowDeleting" msprop:Generator_TablePropName="tsp_Contracts">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="cntID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="cntID" msprop:Generator_ColumnPropNameInRow="cntID" msprop:Generator_ColumnVarNameInTable="columncntID" msprop:Generator_ColumnPropNameInTable="cntIDColumn" type="xs:int" />
              <xs:element name="PayType" msprop:Generator_UserColumnName="PayType" msprop:Generator_ColumnPropNameInRow="PayType" msprop:Generator_ColumnVarNameInTable="columnPayType" msprop:Generator_ColumnPropNameInTable="PayTypeColumn" type="xs:short" minOccurs="0" />
              <xs:element name="PrsID" msprop:Generator_UserColumnName="PrsID" msprop:Generator_ColumnPropNameInRow="PrsID" msprop:Generator_ColumnVarNameInTable="columnPrsID" msprop:Generator_ColumnPropNameInTable="PrsIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Acc" msprop:Generator_UserColumnName="Acc" msprop:Generator_ColumnPropNameInRow="Acc" msprop:Generator_ColumnVarNameInTable="columnAcc" msprop:Generator_ColumnPropNameInTable="AccColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntNum" msprop:Generator_UserColumnName="cntNum" msprop:Generator_ColumnPropNameInRow="cntNum" msprop:Generator_ColumnVarNameInTable="columncntNum" msprop:Generator_ColumnPropNameInTable="cntNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntVn" msprop:Generator_UserColumnName="cntVn" msprop:Generator_ColumnPropNameInRow="cntVn" msprop:Generator_ColumnVarNameInTable="columncntVn" msprop:Generator_ColumnPropNameInTable="cntVnColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="cntD1" msprop:Generator_UserColumnName="cntD1" msprop:Generator_ColumnPropNameInRow="cntD1" msprop:Generator_ColumnVarNameInTable="columncntD1" msprop:Generator_ColumnPropNameInTable="cntD1Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntD2" msprop:Generator_UserColumnName="cntD2" msprop:Generator_ColumnPropNameInRow="cntD2" msprop:Generator_ColumnVarNameInTable="columncntD2" msprop:Generator_ColumnPropNameInTable="cntD2Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntD3" msprop:Generator_UserColumnName="cntD3" msprop:Generator_ColumnPropNameInRow="cntD3" msprop:Generator_ColumnVarNameInTable="columncntD3" msprop:Generator_ColumnPropNameInTable="cntD3Column" type="xs:dateTime" minOccurs="0" />
              <xs:element name="cntText" msprop:Generator_UserColumnName="cntText" msprop:Generator_ColumnPropNameInRow="cntText" msprop:Generator_ColumnVarNameInTable="columncntText" msprop:Generator_ColumnPropNameInTable="cntTextColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntNote" msprop:Generator_UserColumnName="cntNote" msprop:Generator_ColumnPropNameInRow="cntNote" msprop:Generator_ColumnVarNameInTable="columncntNote" msprop:Generator_ColumnPropNameInTable="cntNoteColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cntStatus" msprop:Generator_UserColumnName="cntStatus" msprop:Generator_ColumnPropNameInRow="cntStatus" msprop:Generator_ColumnVarNameInTable="columncntStatus" msprop:Generator_ColumnPropNameInTable="cntStatusColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="fnUserRoles" msprop:Generator_UserTableName="fnUserRoles" msprop:Generator_RowDeletedName="fnUserRolesRowDeleted" msprop:Generator_RowChangedName="fnUserRolesRowChanged" msprop:Generator_RowClassName="fnUserRolesRow" msprop:Generator_RowChangingName="fnUserRolesRowChanging" msprop:Generator_RowEvArgName="fnUserRolesRowChangeEvent" msprop:Generator_RowEvHandlerName="fnUserRolesRowChangeEventHandler" msprop:Generator_TableClassName="fnUserRolesDataTable" msprop:Generator_TableVarName="tablefnUserRoles" msprop:Generator_RowDeletingName="fnUserRolesRowDeleting" msprop:Generator_TablePropName="fnUserRoles">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="URolesID" msprop:Generator_UserColumnName="URolesID" msprop:Generator_ColumnVarNameInTable="columnURolesID" msprop:Generator_ColumnPropNameInRow="URolesID" msprop:Generator_ColumnPropNameInTable="URolesIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RolesID" msprop:Generator_UserColumnName="RolesID" msprop:Generator_ColumnVarNameInTable="columnRolesID" msprop:Generator_ColumnPropNameInRow="RolesID" msprop:Generator_ColumnPropNameInTable="RolesIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserID" msprop:Generator_UserColumnName="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserN" msprop:Generator_UserColumnName="UserN" msprop:Generator_ColumnVarNameInTable="columnUserN" msprop:Generator_ColumnPropNameInRow="UserN" msprop:Generator_ColumnPropNameInTable="UserNColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RolesN" msprop:Generator_UserColumnName="RolesN" msprop:Generator_ColumnVarNameInTable="columnRolesN" msprop:Generator_ColumnPropNameInRow="RolesN" msprop:Generator_ColumnPropNameInTable="RolesNColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StaffName" msprop:Generator_UserColumnName="StaffName" msprop:Generator_ColumnVarNameInTable="columnStaffName" msprop:Generator_ColumnPropNameInRow="StaffName" msprop:Generator_ColumnPropNameInTable="StaffNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="stUsers" msprop:Generator_UserTableName="stUsers" msprop:Generator_RowDeletedName="stUsersRowDeleted" msprop:Generator_RowChangedName="stUsersRowChanged" msprop:Generator_RowClassName="stUsersRow" msprop:Generator_RowChangingName="stUsersRowChanging" msprop:Generator_RowEvArgName="stUsersRowChangeEvent" msprop:Generator_RowEvHandlerName="stUsersRowChangeEventHandler" msprop:Generator_TableClassName="stUsersDataTable" msprop:Generator_TableVarName="tablestUsers" msprop:Generator_RowDeletingName="stUsersRowDeleting" msprop:Generator_TablePropName="stUsers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserID" msprop:Generator_UserColumnName="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StaffID" msprop:Generator_UserColumnName="StaffID" msprop:Generator_ColumnVarNameInTable="columnStaffID" msprop:Generator_ColumnPropNameInRow="StaffID" msprop:Generator_ColumnPropNameInTable="StaffIDColumn" type="xs:int" />
              <xs:element name="UserN" msprop:Generator_UserColumnName="UserN" msprop:Generator_ColumnVarNameInTable="columnUserN" msprop:Generator_ColumnPropNameInRow="UserN" msprop:Generator_ColumnPropNameInTable="UserNColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Spend" msprop:Generator_UserColumnName="Spend" msprop:Generator_ColumnVarNameInTable="columnSpend" msprop:Generator_ColumnPropNameInRow="Spend" msprop:Generator_ColumnPropNameInTable="SpendColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="DateES" msprop:Generator_UserColumnName="DateES" msprop:Generator_ColumnVarNameInTable="columnDateES" msprop:Generator_ColumnPropNameInRow="DateES" msprop:Generator_ColumnPropNameInTable="DateESColumn" type="xs:anyType" minOccurs="0" />
              <xs:element name="DateEE" msprop:Generator_UserColumnName="DateEE" msprop:Generator_ColumnVarNameInTable="columnDateEE" msprop:Generator_ColumnPropNameInRow="DateEE" msprop:Generator_ColumnPropNameInTable="DateEEColumn" type="xs:anyType" minOccurs="0" />
              <xs:element name="DateSS" msprop:Generator_UserColumnName="DateSS" msprop:Generator_ColumnVarNameInTable="columnDateSS" msprop:Generator_ColumnPropNameInRow="DateSS" msprop:Generator_ColumnPropNameInTable="DateSSColumn" type="xs:anyType" minOccurs="0" />
              <xs:element name="DateSE" msprop:Generator_UserColumnName="DateSE" msprop:Generator_ColumnVarNameInTable="columnDateSE" msprop:Generator_ColumnPropNameInRow="DateSE" msprop:Generator_ColumnPropNameInTable="DateSEColumn" type="xs:anyType" minOccurs="0" />
              <xs:element name="Psw" msprop:Generator_UserColumnName="Psw" msprop:Generator_ColumnVarNameInTable="columnPsw" msprop:Generator_ColumnPropNameInRow="Psw" msprop:Generator_ColumnPropNameInTable="PswColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tsp_dtEBK" msprop:Generator_UserTableName="tsp_dtEBK" msprop:Generator_RowDeletedName="tsp_dtEBKRowDeleted" msprop:Generator_RowChangedName="tsp_dtEBKRowChanged" msprop:Generator_RowClassName="tsp_dtEBKRow" msprop:Generator_RowChangingName="tsp_dtEBKRowChanging" msprop:Generator_RowEvArgName="tsp_dtEBKRowChangeEvent" msprop:Generator_RowEvHandlerName="tsp_dtEBKRowChangeEventHandler" msprop:Generator_TableClassName="tsp_dtEBKDataTable" msprop:Generator_TableVarName="tabletsp_dtEBK" msprop:Generator_RowDeletingName="tsp_dtEBKRowDeleting" msprop:Generator_TablePropName="tsp_dtEBK">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hCode" msprop:Generator_UserColumnName="hCode" msprop:Generator_ColumnVarNameInTable="columnhCode" msprop:Generator_ColumnPropNameInRow="hCode" msprop:Generator_ColumnPropNameInTable="hCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hccrt" msprop:Generator_UserColumnName="hccrt" msprop:Generator_ColumnVarNameInTable="columnhccrt" msprop:Generator_ColumnPropNameInRow="hccrt" msprop:Generator_ColumnPropNameInTable="hccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tsp_dtFBK" msprop:Generator_UserTableName="tsp_dtFBK" msprop:Generator_RowDeletedName="tsp_dtFBKRowDeleted" msprop:Generator_RowChangedName="tsp_dtFBKRowChanged" msprop:Generator_RowClassName="tsp_dtFBKRow" msprop:Generator_RowChangingName="tsp_dtFBKRowChanging" msprop:Generator_RowEvArgName="tsp_dtFBKRowChangeEvent" msprop:Generator_RowEvHandlerName="tsp_dtFBKRowChangeEventHandler" msprop:Generator_TableClassName="tsp_dtFBKDataTable" msprop:Generator_TableVarName="tabletsp_dtFBK" msprop:Generator_RowDeletingName="tsp_dtFBKRowDeleting" msprop:Generator_TablePropName="tsp_dtFBK">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hCode" msprop:Generator_UserColumnName="hCode" msprop:Generator_ColumnPropNameInRow="hCode" msprop:Generator_ColumnVarNameInTable="columnhCode" msprop:Generator_ColumnPropNameInTable="hCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hccrt" msprop:Generator_UserColumnName="hccrt" msprop:Generator_ColumnPropNameInRow="hccrt" msprop:Generator_ColumnVarNameInTable="columnhccrt" msprop:Generator_ColumnPropNameInTable="hccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="fn_GetAny" msprop:Generator_UserTableName="fn_GetAny" msprop:Generator_RowDeletedName="fn_GetAnyRowDeleted" msprop:Generator_RowChangedName="fn_GetAnyRowChanged" msprop:Generator_RowClassName="fn_GetAnyRow" msprop:Generator_RowChangingName="fn_GetAnyRowChanging" msprop:Generator_RowEvArgName="fn_GetAnyRowChangeEvent" msprop:Generator_RowEvHandlerName="fn_GetAnyRowChangeEventHandler" msprop:Generator_TableClassName="fn_GetAnyDataTable" msprop:Generator_TableVarName="tablefn_GetAny" msprop:Generator_RowDeletingName="fn_GetAnyRowDeleting" msprop:Generator_TablePropName="fn_GetAny">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="60" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DCode" msprop:Generator_UserColumnName="DCode" msprop:Generator_ColumnVarNameInTable="columnDCode" msprop:Generator_ColumnPropNameInRow="DCode" msprop:Generator_ColumnPropNameInTable="DCodeColumn" type="xs:short" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Clients" msprop:Generator_UserTableName="Clients" msprop:Generator_RowDeletedName="ClientsRowDeleted" msprop:Generator_RowChangedName="ClientsRowChanged" msprop:Generator_RowClassName="ClientsRow" msprop:Generator_RowChangingName="ClientsRowChanging" msprop:Generator_RowEvArgName="ClientsRowChangeEvent" msprop:Generator_RowEvHandlerName="ClientsRowChangeEventHandler" msprop:Generator_TableClassName="ClientsDataTable" msprop:Generator_TableVarName="tableClients" msprop:Generator_RowDeletingName="ClientsRowDeleting" msprop:Generator_TablePropName="Clients">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ClientsID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ClientsID" msprop:Generator_ColumnVarNameInTable="columnClientsID" msprop:Generator_ColumnPropNameInRow="ClientsID" msprop:Generator_ColumnPropNameInTable="ClientsIDColumn" type="xs:int" />
              <xs:element name="CityID" msprop:Generator_UserColumnName="CityID" msprop:Generator_ColumnVarNameInTable="columnCityID" msprop:Generator_ColumnPropNameInRow="CityID" msprop:Generator_ColumnPropNameInTable="CityIDColumn" type="xs:int" />
              <xs:element name="ClName" msprop:Generator_UserColumnName="ClName" msprop:Generator_ColumnVarNameInTable="columnClName" msprop:Generator_ColumnPropNameInRow="ClName" msprop:Generator_ColumnPropNameInTable="ClNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="address" msprop:Generator_UserColumnName="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnPropNameInTable="addressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PostalCode" msprop:Generator_UserColumnName="PostalCode" msprop:Generator_ColumnVarNameInTable="columnPostalCode" msprop:Generator_ColumnPropNameInRow="PostalCode" msprop:Generator_ColumnPropNameInTable="PostalCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone" msprop:Generator_UserColumnName="Phone" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Fax" msprop:Generator_UserColumnName="Fax" msprop:Generator_ColumnVarNameInTable="columnFax" msprop:Generator_ColumnPropNameInRow="Fax" msprop:Generator_ColumnPropNameInTable="FaxColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mobile" msprop:Generator_UserColumnName="Mobile" msprop:Generator_ColumnVarNameInTable="columnMobile" msprop:Generator_ColumnPropNameInRow="Mobile" msprop:Generator_ColumnPropNameInTable="MobileColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Person" msprop:Generator_UserColumnName="Person" msprop:Generator_ColumnVarNameInTable="columnPerson" msprop:Generator_ColumnPropNameInRow="Person" msprop:Generator_ColumnPropNameInTable="PersonColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Meneger" msprop:Generator_UserColumnName="Meneger" msprop:Generator_ColumnVarNameInTable="columnMeneger" msprop:Generator_ColumnPropNameInRow="Meneger" msprop:Generator_ColumnPropNameInTable="MenegerColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Lit" msprop:Generator_UserColumnName="Lit" msprop:Generator_ColumnVarNameInTable="columnLit" msprop:Generator_ColumnPropNameInRow="Lit" msprop:Generator_ColumnPropNameInTable="LitColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Dlit" msprop:Generator_UserColumnName="Dlit" msprop:Generator_ColumnVarNameInTable="columnDlit" msprop:Generator_ColumnPropNameInRow="Dlit" msprop:Generator_ColumnPropNameInTable="DlitColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Sn" msprop:Generator_UserColumnName="Sn" msprop:Generator_ColumnVarNameInTable="columnSn" msprop:Generator_ColumnPropNameInRow="Sn" msprop:Generator_ColumnPropNameInTable="SnColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Emaill" msprop:Generator_UserColumnName="Emaill" msprop:Generator_ColumnVarNameInTable="columnEmaill" msprop:Generator_ColumnPropNameInRow="Emaill" msprop:Generator_ColumnPropNameInTable="EmaillColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LDefault" msprop:Generator_UserColumnName="LDefault" msprop:Generator_ColumnVarNameInTable="columnLDefault" msprop:Generator_ColumnPropNameInRow="LDefault" msprop:Generator_ColumnPropNameInTable="LDefaultColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="Spend" msprop:Generator_UserColumnName="Spend" msprop:Generator_ColumnVarNameInTable="columnSpend" msprop:Generator_ColumnPropNameInRow="Spend" msprop:Generator_ColumnPropNameInTable="SpendColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="addInf" msprop:Generator_UserColumnName="addInf" msprop:Generator_ColumnVarNameInTable="columnaddInf" msprop:Generator_ColumnPropNameInRow="addInf" msprop:Generator_ColumnPropNameInTable="addInfColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dtCity" msprop:Generator_UserTableName="dtCity" msprop:Generator_RowDeletedName="dtCityRowDeleted" msprop:Generator_TableClassName="dtCityDataTable" msprop:Generator_RowChangedName="dtCityRowChanged" msprop:Generator_RowClassName="dtCityRow" msprop:Generator_RowChangingName="dtCityRowChanging" msprop:Generator_RowEvArgName="dtCityRowChangeEvent" msprop:Generator_RowEvHandlerName="dtCityRowChangeEventHandler" msprop:Generator_TablePropName="dtCity" msprop:Generator_TableVarName="tabledtCity" msprop:Generator_RowDeletingName="dtCityRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:fn_GetStaff" />
      <xs:field xpath="mstns:StaffID" />
    </xs:unique>
    <xs:unique name="tsp_Contracts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tsp_Contracts" />
      <xs:field xpath="mstns:cntID" />
    </xs:unique>
    <xs:unique name="fnUserRoles_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:fnUserRoles" />
      <xs:field xpath="mstns:URolesID" />
    </xs:unique>
    <xs:unique name="stUsers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:stUsers" />
      <xs:field xpath="mstns:UserID" />
    </xs:unique>
    <xs:unique name="tsp_dtEBK_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tsp_dtEBK" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
    <xs:unique name="tsp_dtFBK_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tsp_dtFBK" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
    <xs:unique name="fn_GetAny_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:fn_GetAny" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
    <xs:unique name="Clients_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Clients" />
      <xs:field xpath="mstns:ClientsID" />
    </xs:unique>
    <xs:unique name="dtCity_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtCity" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_dtCity_dtCity" msdata:parent="dtCity" msdata:child="dtCity" msdata:parentkey="CodeID" msdata:childkey="mgrid" msprop:Generator_UserRelationName="FK_dtCity_dtCity" msprop:Generator_RelationVarName="relationFK_dtCity_dtCity" msprop:Generator_UserChildTable="dtCity" msprop:Generator_UserParentTable="dtCity" msprop:Generator_ParentPropName="dtCityRowParent" msprop:Generator_ChildPropName="GetdtCityRows" />
      <msdata:Relationship name="FK_Clients_dtCity" msdata:parent="dtCity" msdata:child="Clients" msdata:parentkey="CodeID" msdata:childkey="CityID" msprop:Generator_UserRelationName="FK_Clients_dtCity" msprop:Generator_RelationVarName="relationFK_Clients_dtCity" msprop:Generator_UserChildTable="Clients" msprop:Generator_UserParentTable="dtCity" msprop:Generator_ParentPropName="dtCityRow" msprop:Generator_ChildPropName="GetClientsRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>